/*
 * @Author: zzd993
 * @Date: 2023-05-17 22:51:48
 * @LastEditors: zzd993
 * @LastEditTime: 2023-05-17 22:52:01
 * @FilePath: \硅谷甄选vue3+ts+vite+echarts+pinia\scripts\preinstall.js
 * Copyright (c) 2023 by ZZD, All Rights Reserved.
 */
if (!/pnpm/.test(process.env.npm_execpath || '')) {
  console.warn(
    `\u001b[33mThis repository must using pnpm as the package manager ` +
      ` for scripts to work properly.\u001b[39m\n`,
  )
  process.exit(1)
}
